package com.zk.ppa.service;

import com.zk.ppa.dao.po.Train;

import java.util.List;

/**
 * @author fengq
 */
public interface TrainService {
    /**
     * Train
     * @param train
     * @return
     */
    Boolean saveTrain (Train train);

    /**
     * updateTrainById
     * @param train
     * @return
     */
    Boolean updateTrainById(Train train);

    /**
     * deleteTrainById
     * @param id
     * @return
     */
    Boolean deleteTrainById(Long id);

    /**
     * deleteBatchTrainByIds
     * @param ids
     * @return
     */
    Boolean deleteBatchTrainByIds(List<Long> ids);
}
